package com.yj_app.qualitytest.info;

import android.text.TextUtils;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.yj_app.qualitytest.util.DateUtils;

import org.litepal.crud.LitePalSupport;

import java.io.Serializable;

public class SubScoreInfo extends LitePalSupport implements Serializable , MultiItemEntity {
    /**
     * itemid : 01010607005
     * itemname : 5、粘口松紧度(＞2cm)-2分/袋。
     * itemmemo : null
     * ccode : 01010607
     * csealflag : N
     * points : 2
     */

    long id;
    String contentId;

    private double score;

    private String workspacename;//车间名称
    private String workspaceid;//车间id

    private String sclinename;//生产线名称
    private String sclineid;//生产线id


    private String zrname;//主任名称
    private String zrid;//主任id

    private String machineno;

    private String teamname;

    private String bzfs;

    private String checkxmpname;

    String checkXmId;
    String checkXmName;

    String bzLxId;
    String bzLxName;

    String common;

    private String nickname;//被检人
    private String nicknameid;//被检人



    private String time;

    public String getNicknameid() {
        return TextUtils.isEmpty(nicknameid) ? "" : nicknameid;
    }

    public void setNicknameid(String nicknameid) {
        this.nicknameid = (TextUtils.isEmpty(nicknameid) ? "" : nicknameid);
    }

    public String getTime() {
        return TextUtils.isEmpty(time) ? "" : time;
    }

    public void setTime(String time) {
        this.time = (TextUtils.isEmpty(time) ? "" : time);
    }

    public String getNickname() {
        return TextUtils.isEmpty(nickname) ? "" : nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = (TextUtils.isEmpty(nickname) ? "" : nickname);
    }

    public String getCommon() {
        return TextUtils.isEmpty(common) ? "" : common;
    }

    public void setCommon(String common) {
        this.common = (TextUtils.isEmpty(common) ? "" : common);
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getContentId() {
        return TextUtils.isEmpty(contentId) ? "" : contentId;
    }

    public void setContentId(String contentId) {
        this.contentId = (TextUtils.isEmpty(contentId) ? "" : contentId);
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public String getWorkspacename() {
        return TextUtils.isEmpty(workspacename) ? "" : workspacename;
    }

    public void setWorkspacename(String workspacename) {
        this.workspacename = (TextUtils.isEmpty(workspacename) ? "" : workspacename);
    }

    public String getWorkspaceid() {
        return TextUtils.isEmpty(workspaceid) ? "" : workspaceid;
    }

    public void setWorkspaceid(String workspaceid) {
        this.workspaceid = (TextUtils.isEmpty(workspaceid) ? "" : workspaceid);
    }

    public String getSclinename() {
        return TextUtils.isEmpty(sclinename) ? "" : sclinename;
    }

    public void setSclinename(String sclinename) {
        this.sclinename = (TextUtils.isEmpty(sclinename) ? "" : sclinename);
    }

    public String getSclineid() {
        return TextUtils.isEmpty(sclineid) ? "" : sclineid;
    }

    public void setSclineid(String sclineid) {
        this.sclineid = (TextUtils.isEmpty(sclineid) ? "" : sclineid);
    }

    public String getZrname() {
        return TextUtils.isEmpty(zrname) ? "" : zrname;
    }

    public void setZrname(String zrname) {
        this.zrname = (TextUtils.isEmpty(zrname) ? "" : zrname);
    }

    public String getZrid() {
        return TextUtils.isEmpty(zrid) ? "" : zrid;
    }

    public void setZrid(String zrid) {
        this.zrid = (TextUtils.isEmpty(zrid) ? "" : zrid);
    }

    public String getMachineno() {
        return TextUtils.isEmpty(machineno) ? "" : machineno;
    }

    public void setMachineno(String machineno) {
        this.machineno = (TextUtils.isEmpty(machineno) ? "" : machineno);
    }

    public String getTeamname() {
        return TextUtils.isEmpty(teamname) ? "" : teamname;
    }

    public void setTeamname(String teamname) {
        this.teamname = (TextUtils.isEmpty(teamname) ? "" : teamname);
    }

    public String getBzfs() {
        return TextUtils.isEmpty(bzfs) ? "" : bzfs;
    }

    public void setBzfs(String bzfs) {
        this.bzfs = (TextUtils.isEmpty(bzfs) ? "" : bzfs);
    }

    public String getCheckxmpname() {
        return TextUtils.isEmpty(checkxmpname) ? "" : checkxmpname;
    }

    public void setCheckxmpname(String checkxmpname) {
        this.checkxmpname = (TextUtils.isEmpty(checkxmpname) ? "" : checkxmpname);
    }



    public String getCheckXmName() {
        return TextUtils.isEmpty(checkXmName) ? "" : checkXmName;
    }

    public void setCheckXmName(String checkXmName) {
        this.checkXmName = (TextUtils.isEmpty(checkXmName) ? "" : checkXmName);
    }

    public String getCheckXmId() {
        return TextUtils.isEmpty(checkXmId) ? "" : checkXmId;
    }

    public void setCheckXmId(String checkXmId) {
        this.checkXmId = (TextUtils.isEmpty(checkXmId) ? "" : checkXmId);
    }

    public String getBzLxId() {
        return TextUtils.isEmpty(bzLxId) ? "" : bzLxId;
    }

    public void setBzLxId(String bzLxId) {
        this.bzLxId = (TextUtils.isEmpty(bzLxId) ? "" : bzLxId);
    }

    public String getBzLxName() {
        return TextUtils.isEmpty(bzLxName) ? "" : bzLxName;
    }

    public void setBzLxName(String bzLxName) {
        this.bzLxName = (TextUtils.isEmpty(bzLxName) ? "" : bzLxName);
    }

    @Override
    public int getItemType() {
        return 2;
    }

    @Override
    public String toString() {
        return "SubScoreInfo{" +
                "contentId=" + contentId +
                ", score=" + score +
                ", workspacename='" + workspacename + '\'' +
                ", workspaceid='" + workspaceid + '\'' +
                ", sclinename='" + sclinename + '\'' +
                ", sclineid='" + sclineid + '\'' +
                ", zrname='" + zrname + '\'' +
                ", zrid='" + zrid + '\'' +
                ", machineno='" + machineno + '\'' +
                ", teamname='" + teamname + '\'' +
                ", bzfs='" + bzfs + '\'' +
                ", checkxmpname='" + checkxmpname + '\'' +
                ", checkXmId=" + checkXmId +
                ", checkXmName='" + checkXmName + '\'' +
                ", bzLxId=" + bzLxId +
                ", bzLxName='" + bzLxName + '\'' +
                '}';
    }
}
